package com.tongsys.server.vo;

import com.tongsys.server.entity.Permission;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiOperation("用于返回用户数据")
public class UserVo {
    @ApiModelProperty("id")
    private Integer id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("头像")
    private String avatar;
    @ApiModelProperty("介绍")
    private String introduction;
    @ApiModelProperty("角色权限")
    private Object[] roles;

}
